<html>
  <head>
    <style>
      .position{
        background: linear-gradient(to top, transparent, transparent);
        background-color: red;
        width: 200px;
        height: 300px;
        background-position: right 40px bottom 20px;
      }
    </style>
  </head>
<body>
  <div class="position">
    a
  </div>
</body>
</html>